package org.example.service;

import org.example.model.AddressDO;
import org.example.request.AddressAddRequest;
import org.example.vo.AddressVO;

import java.util.List;

public interface AddressService {
    AddressVO findById(Long id);

    void add(AddressAddRequest addressAddRequest);

    int deleteById(Long addressId);

    List<AddressVO> list();
}
